<template>
  <div class="box-title g-flex-between-center">
    <span class="box-title-name">{{ props.title }}</span>
    <span class="box-title-desc">{{ props.desc }}</span>
  </div>
</template>

<script lang="ts" setup name="BoxTitle">
import { withDefaults, defineProps } from 'vue';
interface BoxTitleProps {
  title: string;
  desc: string;
}
const props = withDefaults(defineProps<BoxTitleProps>(), {});
</script>

<style lang="scss" scoped>
.box-title {
  padding: 0 20px;
  width: 100%;
  height: 56px;
  .box-title-name {
    font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #0a1f33;
    line-height: 22px;
  }
  .box-title-desc {
    font-size: 12px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #7a8a99;
    line-height: 20px;
  }
}
</style>
